import api from "@/libs/request";

/**
 * 店铺实时概况
 */
export const getManageOverView = (data: any) => {
  return api.get("/finance/manage/overview", data);
};

/**
 * 数据概况订单数据
 */
export const getManageOrder = () => {
  return api.get("/order/manage/overview", null);
};

/**
 * 获取访客数据
 */
export const getManageAccount = () => {
  return api.get("/datasets/shopCaller/get/info", null);
};

/**
 * 获取交易量排行数据
 */
export const getAccountRank = () => {
  return api.get("/datasets/dc-shop-ranking/get/rankingsInfo", null);
};

/**
 * 获取交易额排行数据
 */
export const getAccountGVMRank = () => {
  return api.get("/datasets/dc-shop-ranking/get/rankingsGVMInfo", null);
};
